<pre class="docs-method-signature"><code>point.snapToGrid(gridSize [, gridSizeY])</code></pre>
<p>Snap the point (change its <code>x</code> and <code>y</code> coordinates) to a grid of size <code>gridSize</code> (or <code>gridSize</code> x <code>gridSizeY</code> for non-uniform grid).</p>
